Partial quicksort and weighted branching processes
نویسنده
چکیده
In this dissertation we look at different two models of sorting algorithms based on divideand-conquer algorithms. Quicksort algorithm, sort an unsorted array of n distinct elements. Partial Quicksort sorts the l smallest elements in a list of length n. Both stochastic divide-and-conquer algorithms are widely studied. Our algorithm Quicksort on the fly provides online the first smallest, then second smallest and so on. If we stop at the l-th smallest, we obtain Partial Quicksort. We analyze the running time performance Yn of Quicksort on the fly using the parameter l as time index. We show that, the process Yn converges not only in distribution, but also uniformly as n → ∞ almost everywhere in D to a random variable Y . The distribution of Y is characterized as a solution of a stochastic fixed point equation
منابع مشابه
Exploiting Partial Order with Quicksort
The widely known Quicksort algorithm does not attempt to actively take advantage of partial order in sorting data. A relatively simple change can be made to the Quicksort strategy to give a bestcase performance of n. for ordered data. with a smooth transition to O(n log n) for the random data case. An attractive attribute of this new algorithm CTransort> Is that its performance for random data ...
متن کاملSurvey of Multivariate Aspects of the Contraction Method
We survey multivariate limit laws for sequences of random vectors which satisfy distributional recursions as they appear under various models of randomness for parameters of trees, characteristics of divideand-conquer algorithms, or, more generally, for quantities related to recursive structures or branching processes. While the area of probabilistic analysis of algorithms, since its introducti...
متن کاملChunksort: A Generalized Partial Sorting Algorithm
We introduce here the problem of generalized partial sorting and chunksort, an algorithm closely related to quicksort and quickselect that solves this problem in an elegant and efficient way. In generalized partial sorting we are given an array of n elements and p intervals I1 = [`1,u1], I2 = [`2,u2], . . . , Ip = [`p,up], which define p blocks in the array and p+1 gaps between the blocks. The ...
متن کاملDesign and Experiment of a Communication-Aware Parallel Quicksort with Weighted Partition of Processors
In most parallel algorithms, inter-processor communication cost is much more than computing cost within a processor. So, it is very important to reduce the amount of inter-processor communication. This paper presents the design and experiment of a new communication-aware parallel quicksort scheme for distributed-memory multiprocessor systems. The key idea of the proposed scheme is the weighted ...
متن کاملCoupling on weighted branching trees
This paper considers linear functions constructed on two different weighted branching processes and provides explicit bounds for their Kantorovich-Rubinstein distance in terms of couplings of their corresponding generic branching vectors. Motivated by applications to the analysis of random graphs, we also consider a variation of the weighted branching process where the generic branching vector ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011